package com.up.stores.service;


import com.up.stores.entity.Bussinessman;
import com.up.stores.entity.User;

public interface IBaseBussService {
    //商家注册方法
    void reg(String realName, String username, String password, String password2, String phone, String email);
    //登入
    Bussinessman login(String username, String password);
    //修改密码
    void changePassword(Integer uid, String username, String oldPassword, String newPassword, String newPassword2);
    //改变头像
    void changeAvatar(Integer uid, String username, String avatar);
    //获取当前登录用户的信息,返回当前的登录用户的信息
    Bussinessman getByUid(Integer uid);
    //修改用户个人资料
    void changeInfo(Bussinessman bus, Integer uid);
}
